
public class Weather {
	// The Weather Class will receive a number of weather attributes as they are reported
	// from a specific location. It will then attempt to translate all of the values
	// into one integer value that represents the affects on weather for flights.
	private String description;
	private String visibility;
	private int iconNo;
	private String location;
	public String dewpoint;
	public String feelsLikeTemp;
	public String humidity;
	public int temperature;
	public String lastUpdated;
	public String windSpeed;
	public String precipitation;
	
	public Weather(String newDesc, String newVisibility, int newIconNo, String newLocation, 
			       String newDewpoint, String newFeelsLikeTemp, String newHumidity, 
			       int newTemperature, String newLastUpdated, String newWindSpeed,
			       String newPrecipitation) {
		setDescription(newDesc);
		setVisibility(newVisibility);
		setIconNo(newIconNo);
		setLocation(newLocation);
		setDewpoint(newDewpoint);
		setFeelsLikeTemp(newFeelsLikeTemp);
		setHumidity(newHumidity);
		setTemperature(newTemperature);
		setLastUpdated(newLastUpdated);
		setWindSpeed(newWindSpeed);
		setPrecipitation(newPrecipitation);
	}
	
	public void setDescription(String newDesc) {
		description = newDesc;
	}
	
	public void setVisibility(String newVisibility) {
		visibility = newVisibility;
	}
	
	public void setIconNo(int newIconNo) {
		iconNo = newIconNo;
	}
	
	public void setLocation(String newLocation) {
		location = newLocation;
	}
	
	public void setDewpoint(String newDewpoint) {
		dewpoint = newDewpoint;
	}
	
	public void setFeelsLikeTemp(String newFeelsLikeTemp) {
		feelsLikeTemp = newFeelsLikeTemp;
	}
	
	public void setHumidity(String newHumidity) {
		humidity = newHumidity;
	}
	
	public void setTemperature(int newTemperature) {
		temperature = newTemperature;
	}
	
	public void setLastUpdated(String newLastUpdated) {
		lastUpdated = newLastUpdated;
	}
	
	public void setWindSpeed(String newWindSpeed) {
		windSpeed = newWindSpeed;
	}
	
	public void setPrecipitation(String newPrecipitation) {
		precipitation = newPrecipitation;
	}
	
	public String getDescription() {
		return description;
	}
	
	public String getVisibility() {
		return visibility;
	}
	
	public int getIconNo() {
		return iconNo;
	}
	
	public String getLocation() {
		return location;
	}
	
	public String getDewpoint() {
		return dewpoint;
	}
	
	public String getFeelsLikeTemp() {
		return feelsLikeTemp;
	}
	
	public String getHumidity() {
		return humidity;
	}
	
	public int getTemperature() {
		return temperature;
	}
	
	public String getLastUpdated() {
		return lastUpdated;
	}
	
	public String getWindSpeed() {
		return windSpeed;
	}
	
	public String getPrecipitation() {
		return precipitation;
	}
	
	public int computeWeatherAffect() {
		// This method needs to be filled in as currently it will only return a 0.
		return 0;
	}
}
